\hypertarget{structfilter_n_l_m_s___c_p_u}{
\section{\-Dokumentacja struktury filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}
\label{structfilter_n_l_m_s___c_p_u}\index{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}}
}


\-Filtr \-N\-L\-M\-S -\/ wersja \-C\-P\-U.  




{\ttfamily \#include $<$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U.\-h$>$}

\subsection*{\-Metody publiczne}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structfilter_n_l_m_s___c_p_u_a9e93aa2b521eadad41fcc569e31de38b}{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U} (int \-Nu, int \-Msize, float mi\-Param, \hyperlink{struct_signal_reader_writer}{\-Signal\-Reader\-Writer} \-S\-R\-W)
\item 
\hyperlink{structfilter_n_l_m_s___c_p_u_a8bffd32c8359942bda821c99164fcda6}{$\sim$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U} ()
\item 
void \hyperlink{structfilter_n_l_m_s___c_p_u_a8aca10abb564ae6760a41407d1b6e9dd}{data\-Filtering} (int \-Nu)
\item 
void \hyperlink{structfilter_n_l_m_s___c_p_u_a0d5606a780d3af88ac90ee3e1914fa71}{free\-Memory} ()
\end{DoxyCompactItemize}
\subsection*{\-Atrybuty publiczne}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_a2a02588c5fcd186098d9b59ec7701624}{
int \hyperlink{structfilter_n_l_m_s___c_p_u_a2a02588c5fcd186098d9b59ec7701624}{\-M}}
\label{structfilter_n_l_m_s___c_p_u_a2a02588c5fcd186098d9b59ec7701624}

\begin{DoxyCompactList}\small\item\em długość filtru \end{DoxyCompactList}\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_a1be9f4c9ff5c83f61fabfd0aae1cf9bd}{
float \hyperlink{structfilter_n_l_m_s___c_p_u_a1be9f4c9ff5c83f61fabfd0aae1cf9bd}{mi}}
\label{structfilter_n_l_m_s___c_p_u_a1be9f4c9ff5c83f61fabfd0aae1cf9bd}

\begin{DoxyCompactList}\small\item\em parametr mi filtru \end{DoxyCompactList}\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_a2f4907777b814b9a3eb6237e13f247c8}{
float \hyperlink{structfilter_n_l_m_s___c_p_u_a2f4907777b814b9a3eb6237e13f247c8}{gamma}}
\label{structfilter_n_l_m_s___c_p_u_a2f4907777b814b9a3eb6237e13f247c8}

\begin{DoxyCompactList}\small\item\em parametr gamma filtru \end{DoxyCompactList}\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_a311163536b7b15e3015dce49410277df}{
cudacomplex $\ast$ \hyperlink{structfilter_n_l_m_s___c_p_u_a311163536b7b15e3015dce49410277df}{u}}
\label{structfilter_n_l_m_s___c_p_u_a311163536b7b15e3015dce49410277df}

\begin{DoxyCompactList}\small\item\em sygnał wejściowy u (input) \end{DoxyCompactList}\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_a0455515c1c4e0a0606ff1d600c87ca5b}{
cudacomplex $\ast$ \hyperlink{structfilter_n_l_m_s___c_p_u_a0455515c1c4e0a0606ff1d600c87ca5b}{d}}
\label{structfilter_n_l_m_s___c_p_u_a0455515c1c4e0a0606ff1d600c87ca5b}

\begin{DoxyCompactList}\small\item\em sygnał wejściowy d (desired) \end{DoxyCompactList}\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_a7556ce2e3d49c73cc439ce88279be614}{
cudacomplex $\ast$ \hyperlink{structfilter_n_l_m_s___c_p_u_a7556ce2e3d49c73cc439ce88279be614}{e}}
\label{structfilter_n_l_m_s___c_p_u_a7556ce2e3d49c73cc439ce88279be614}

\begin{DoxyCompactList}\small\item\em sygnał wyjściowy e (error) \end{DoxyCompactList}\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_abb655f31b7668e714cc42c5f6be35844}{
cudacomplex $\ast$ \hyperlink{structfilter_n_l_m_s___c_p_u_abb655f31b7668e714cc42c5f6be35844}{buf\-\_\-u}}
\label{structfilter_n_l_m_s___c_p_u_abb655f31b7668e714cc42c5f6be35844}

\begin{DoxyCompactList}\small\item\em bufor zawierajacy \-M próbek sygnału u \end{DoxyCompactList}\item 
\hypertarget{structfilter_n_l_m_s___c_p_u_ab9dab702644502432c4495d5ba054347}{
cudacomplex $\ast$ \hyperlink{structfilter_n_l_m_s___c_p_u_ab9dab702644502432c4495d5ba054347}{lc}}
\label{structfilter_n_l_m_s___c_p_u_ab9dab702644502432c4495d5ba054347}

\begin{DoxyCompactList}\small\item\em wagi filtrów \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Opis szczegółowy}
\-Filtr \-N\-L\-M\-S -\/ wersja \-C\-P\-U. 

\-Opisuje filtr \-N\-L\-M\-S działający w oparciu o platformę \-C\-P\-U. 

\subsection{\-Dokumentacja konstruktora i destruktora}
\hypertarget{structfilter_n_l_m_s___c_p_u_a9e93aa2b521eadad41fcc569e31de38b}{
\index{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}!filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}}
\index{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}!filterNLMS_CPU@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}}
\subsubsection[{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}]{\setlength{\rightskip}{0pt plus 5cm}filter\-N\-L\-M\-S\-\_\-\-C\-P\-U\-::filter\-N\-L\-M\-S\-\_\-\-C\-P\-U (
\begin{DoxyParamCaption}
\item[{int}]{\-Nu, }
\item[{int}]{\-Msize, }
\item[{float}]{mi\-Param, }
\item[{{\bf \-Signal\-Reader\-Writer}}]{\-S\-R\-W}
\end{DoxyParamCaption}
)}}
\label{structfilter_n_l_m_s___c_p_u_a9e93aa2b521eadad41fcc569e31de38b}
\-Konstruktor struktury \hyperlink{structfilter_n_l_m_s___c_p_u}{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}.\par
 \-Alokacja pamięci, inicjalizacja zmiennych.


\begin{DoxyParams}{\-Parametry}
{\em \-Nu} & -\/ liczba próbek sygnału \\
\hline
{\em \-Msize} & -\/ długość filtru \\
\hline
{\em mi\-Param} & -\/ parametr mi filtru \\
\hline
{\em \-S\-R\-W} & -\/ struktura zawierająca sygnały wejściowe i wyjściowe \\
\hline
\end{DoxyParams}
\hypertarget{structfilter_n_l_m_s___c_p_u_a8bffd32c8359942bda821c99164fcda6}{
\index{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}!$\sim$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{$\sim$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}}
\index{$\sim$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{$\sim$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}!filterNLMS_CPU@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}}
\subsubsection[{$\sim$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}]{\setlength{\rightskip}{0pt plus 5cm}filter\-N\-L\-M\-S\-\_\-\-C\-P\-U\-::$\sim$filter\-N\-L\-M\-S\-\_\-\-C\-P\-U (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{structfilter_n_l_m_s___c_p_u_a8bffd32c8359942bda821c99164fcda6}
\-Destruktor struktury \hyperlink{structfilter_n_l_m_s___c_p_u}{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}. 

\subsection{\-Dokumentacja funkcji składowych}
\hypertarget{structfilter_n_l_m_s___c_p_u_a8aca10abb564ae6760a41407d1b6e9dd}{
\index{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}!data\-Filtering@{data\-Filtering}}
\index{data\-Filtering@{data\-Filtering}!filterNLMS_CPU@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}}
\subsubsection[{data\-Filtering}]{\setlength{\rightskip}{0pt plus 5cm}void filter\-N\-L\-M\-S\-\_\-\-C\-P\-U\-::data\-Filtering (
\begin{DoxyParamCaption}
\item[{int}]{\-Nu}
\end{DoxyParamCaption}
)}}
\label{structfilter_n_l_m_s___c_p_u_a8aca10abb564ae6760a41407d1b6e9dd}
\-Metoda przeprowadzająca filtrację adaptacyjną na \-C\-P\-U.


\begin{DoxyParams}{\-Parametry}
{\em \-Nu} & -\/ liczba próbek sygnału do przefiltrowania \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Zwraca}
void 
\end{DoxyReturn}
\hypertarget{structfilter_n_l_m_s___c_p_u_a0d5606a780d3af88ac90ee3e1914fa71}{
\index{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}!free\-Memory@{free\-Memory}}
\index{free\-Memory@{free\-Memory}!filterNLMS_CPU@{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}}
\subsubsection[{free\-Memory}]{\setlength{\rightskip}{0pt plus 5cm}void filter\-N\-L\-M\-S\-\_\-\-C\-P\-U\-::free\-Memory (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{structfilter_n_l_m_s___c_p_u_a0d5606a780d3af88ac90ee3e1914fa71}
\-Metoda zwalniająca pamięć po strukturze \hyperlink{structfilter_n_l_m_s___c_p_u}{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U}.

\begin{DoxyReturn}{\-Zwraca}
void 
\end{DoxyReturn}


\-Dokumentacja dla tej struktury została wygenerowana z plików\-:\begin{DoxyCompactItemize}
\item 
\-C\-:/\-Users/boski/\-Documents/\-Visual Studio 2008/\-Projects/cuda/blms/\hyperlink{filter_n_l_m_s___c_p_u_8h}{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U.\-h}\item 
\-C\-:/\-Users/boski/\-Documents/\-Visual Studio 2008/\-Projects/cuda/blms/\hyperlink{filter_n_l_m_s___c_p_u_8cu}{filter\-N\-L\-M\-S\-\_\-\-C\-P\-U.\-cu}\end{DoxyCompactItemize}
